home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
share
/
bug
/
initramfs-tools
/
script
Wrap
Text File
|
2008-06-11
|
645b
|
40 lines
#!/bin/sh
exec >&3
echo "-- /proc/cmdline"
cat /proc/cmdline
echo
echo "-- /proc/filesystems"
grep -v nodev /proc/filesystems
echo
echo "-- lsmod"
lsmod
echo
if [ -r /etc/kernel-img.conf ]; then
echo "-- /etc/kernel-img.conf"
cat /etc/kernel-img.conf
echo
fi
if [ -r /etc/initramfs-tools/initramfs.conf ]; then
echo "-- /etc/initramfs-tools/initramfs.conf"
sed 's/#.*$//;/^[[:space:]]*$/d' /etc/initramfs-tools/initramfs.conf
echo
fi
if [ -r /etc/crypttab ]; then
echo "-- /etc/crypttab"
cat /etc/crypttab
echo
fi
if grep -q "MODULES=dep" /etc/initramfs-tools/initramfs.conf ; then
echo "-- /sys/block"
ls /sys/block
echo
fi